package com.google.code.p.restrpc.http;

import java.net.URI;

import org.apache.http.HttpEntity;

/**
 * @author dz
 */
public interface HttpClientRequest {
    
    /**
     * @return
     */
    public URI getURI();
    
    /**
     * @return
     */
    public HttpHeaders getHeaders();
    
    /**
     * @param headerName
     * @param headerValue
     */
    public void addHeader(String headerName, String headerValue);
    
    /**
     * @param headerName
     * @return
     */
    public String removeHeader(String headerName);
    
    /**
     * @param headerName
     * @return
     */
    public boolean containsHeader(String headerName);
    
    /**
     * @return
     */
    public HttpEntity getBody();
    
    /**
     * @param body
     */
    public void setBody(HttpEntity body);
    
}
